export interface wsResult {
  type?: number, //类型判断 1 join 2 leave  3 消息
  message?: string, //消息
  person?: string  //加入或者离开的人
}

export interface wsMessageType {
  time?: string;
  to?: string;
  from?: string;
  msg?: string;
  userNames?: string[];
  joinPerson?: string;
  leavePerson?: string;
}